package com.zbl.zblproject.erp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * @author youlanqiang
 * @version 1.0
 * @date 2018/10/24
 * 差异项
 */
@TableName("zbl_leave_item")
public class ErpLeaveItem {

    @TableId(type = IdType.AUTO)
    private int id;

    private int itemId;

    /**
     * 遗漏数
     */
    private int leaveNum;


    public ErpLeaveItem(){

    }

    public ErpLeaveItem(int itemId, int leaveNum){
        this.itemId = itemId;
        this.leaveNum = leaveNum;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getItemId() {
        return itemId;
    }

    public void setItemId(int itemId) {
        this.itemId = itemId;
    }

    public int getLeaveNum() {
        return leaveNum;
    }

    public void setLeaveNum(int leaveNum) {
        this.leaveNum = leaveNum;
    }

    @Override
    public String toString() {
        return "ErpLeaveItem{" +
                "id=" + id +
                ", itemId=" + itemId +
                ", leaveNum=" + leaveNum +
                '}';
    }
}
